package edu.suda.xsap.service;

import edu.suda.xsap.dto.MemberBindRecordDto;

import java.util.List;

public interface MemberBindRecordService {
    void bind(MemberBindRecordDto memberBindRecordDto);

    void update(MemberBindRecordDto memberBindRecordDto);

    MemberBindRecordDto findById(Integer id);

    List<MemberBindRecordDto> findByMemberId(Integer memberId);

    List<MemberBindRecordDto> findByCardId(Integer cardId);

    List<MemberBindRecordDto> findAll();

    void delete(Integer id);

    List<Integer> findCardIdsByMemberId(Integer memberId);

}
